package com.example.supernote.data.manager.impl

import android.content.Context
import com.example.supernote.data.database.FileEntityDatabase
import com.example.supernote.data.manager.ManagerRepository
import com.example.supernote.data.repository.FileEntityRepository
import com.example.supernote.data.repository.OfflineFileEntityRepository
import com.example.supernote.model.manager.AbstractFileComposite

class ManagerRepositoryImpl(private val context: Context) : ManagerRepository {
    private val fileEntityRepository: FileEntityRepository by lazy {
        OfflineFileEntityRepository(
            FileEntityDatabase.getDatabase(context).fileEntityDao(),
            FileEntityDatabase.getDatabase(context).trashEntityDao()
        )
    }

    override suspend fun getRoot(): AbstractFileComposite {
        TODO("Not yet implemented")
    }
}